package com.xiaoyi.encrypt;

import com.xiaoyi.annotataion.Encrypt;
import com.xiaoyi.config.EncryptionConfig;

/**
 * @author xiaoyi
 * @version 1.0.0
 * @date 2023/08/01 15:15:00
 */
public interface IEncryptorStrategy {
    String encrypt(String value, EncryptionConfig config, Encrypt encrypt);

    String decrypt(String value, EncryptionConfig config, Encrypt encrypt);
}
